package com.bestcem.xm.ticket.enums;

import lombok.Getter;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/8/20 10:53
 */
@Getter
public enum FlowMatchConditionEnum {
    /**
     * NONE
     */
    NONE(0, "NONE"),
    /**
     * UNCONDITIONAL
     */
    UNCONDITIONAL(1, "UNCONDITIONAL"),
    /**
     * MATCH_ALERT_RULES
     */
    MATCH_ALERT_RULES(2, "MATCH_ALERT_RULES"),
    /**
     * CUSTOM_ALERT_RULES
     */
    CUSTOM_ALERT_RULES(3, "CUSTOM_ALERT_RULES");

    private final String name;

    private final Integer index;

    FlowMatchConditionEnum(Integer index, String name) {
        this.name = name;
        this.index = index;
    }
}
